package com.java.jvm.gc;
//-Xmx32m -Xms32m -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -XX:+PrintCommandLineFlags
//0.257: [GC (Allocation Failure) [PSYoungGen: 8290K->760K(9728K)] 8290K->6912K(31744K), 0.0052601 secs] [Times: user=0.06 sys=0.00, real=0.00 secs]
public class GarbageTests {
    public static void main(String[] args) {
        byte[] array1=new byte[1*1024*1024];
        byte[] array2=new byte[2*1024*1024];
        byte[] array3=new byte[3*1024*1024];
        byte[] array4=new byte[4*1024*1024];
    }
}
